<template>
	<view>
		<view class="m-t-20 m-l-20 m-r-20">
			<text class="nr sign-rule">{{rules}}</text>
		</view>
		<w-jishuzhichi class="jishuzhichi-nodata" />
	</view>
</template>

<script>
	import {
		apiSignGetRemark
	} from "@/api/user.js";

	export default {
		data() {
			return {
				rules: '',
			};
		},

		methods: {
			signGetRemark() {
				apiSignGetRemark()
					.then(res => {
						this.rules = this.$zhTran(res.remark)
					})
			}
		},

		onLoad() {
			this.signGetRemark()
			if (this.$Route.meta.atitle) {
				uni.setNavigationBarTitle({
					title: this.$zhTran(this.$Route.meta.atitle)
				})
			}
		}
	}
</script>

<style lang="scss">
	.sign-rule {
		line-height: 36rpx;
	}
</style>